from django.http import HttpResponse
from django.template.loader import render_to_string
from django.conf import settings
def index(request):
    site = render_to_string('mobile/index.html',{'MEDIA_URL':settings.MEDIA_URL})#.replace('\n','').replace('  ','')
    return HttpResponse(site)